package com.A1908.service;

import com.A1908.entity.FeastInfo;
import com.A1908.entity.PageEntity;
import com.A1908.entity.User;

import java.util.List;

/**
 * @name:
 * @description:
 * @author: mr.ck
 * @title: talk is cheap, show me the code!!!
 * @time: 2021-03-26 13:40:22
*/


public interface FeastInfoService {
    //查找全部宴会信息
    List<FeastInfo> findAllFeastInfo(User user);
    List<FeastInfo> findAllFeastInfo(User user, PageEntity pageEntity);
    //新增宴会信息
    int addFeastInfo(FeastInfo info);

    /*查询宴会信息根据宴会名称*/
    void findFeastInfoByName(FeastInfo feastInfo,PageEntity pageEntity);

    //删除宴会信息
    int delFeastInfo(FeastInfo info,User user);

    //修改宴会信息
    int updateFeastInfo(FeastInfo info);
}
